home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / PadHop.dxr / the graffic_29_win-lose what.ls < prev    next >
Encoding:
Text File  |  2002-01-31  |  325 b   |  14 lines

  1. property pSprite, spriteNum
  2. global gCurrentFloat, gFloats
  3.  
  4. on beginSprite me
  5.   pSprite = sprite(spriteNum)
  6.   if gFloats.findPos(gCurrentFloat) = gFloats.count then
  7.     puppetSound(4, "win")
  8.     pSprite.member.text = "You Win!!!"
  9.   else
  10.     puppetSound(4, "lose")
  11.     pSprite.member.text = "give it another try!"
  12.   end if
  13. end
  14.